<?php


namespace App\Models;


use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class CommodityOrderAssign extends BaseModel
{

    use SoftDeletes;

    public function staffInfo()
    {
        return $this->hasOne(Staff::class, 'id', 'staff_id')->select('id', 'account', 'head', 'surname', 'name');
    }
}